phpseclib\Crypt\Base D

Total Complexity 280
Dependencies 3
Dependents 3
Total lines 2,679
Lines of code 1,437
Logical lines of code 816
Comment lines 995
Methods 38
Properties 31

Methods 38

Method Rating Maintainability Complexity Lines of code
encrypt()
D
15
67 292
decrypt()
D
15
67 289
_createInlineCryptFunction()
C
22
10 382
_openssl_ctr_process()
B
38 19 70
isValidEngine()
A
45 15 42
setPassword()
A
41 14 53
__construct()
A
57 8 20
_openssl_ofb_process()
A
49 7 32
_setEngine()
S
51 7 30
_openssl_translate_mode()
S
60 7 16
_hashInlineCryptFunction()
S
52 6 23
_increment_str()
S
52 5 24
_setupMcrypt()
S
53 4 23
safe_intval_inline()
S
62 4 11
_unpad()
S
63 4 10
_pad()
S
60 3 13
disableContinuousBuffer()
S
64 3 11
setPreferredEngine()
S
64 3 11
safe_intval()
S
64 3 9
setKey()
S
66 2 9
_clearBuffers()
S
66 2 7
_setup()
S
71 2 7
enableContinuousBuffer()
S
70 2 7
setIV()
S
70 2 7
_setupKey()
S
100 1 0
getBlockLength()
S
81 1 3
_decryptBlock()
S
100 1 0
_encryptBlock()
S
100 1 0
getEngine()
S
83 1 3
_string_shift()
S
73 1 5
_string_pop()
S
72 1 5
getKeyLength()
S
81 1 3
_setupInlineCrypt()
S
82 1 3
setKeyLength()
S
74 1 5
_getLambdaFunctions()
S
77 1 4
disablePadding()
S
82 1 3
enablePadding()
S
82 1 3
do_nothing()
S
100 1 2